using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Domain.Entities.Auditing;
using System.ComponentModel.DataAnnotations;
using Sunlit.House.Users.Dto;

namespace Sunlit.House.Buy.Dto
{
    [AutoMap(typeof(GroupItem))]
    public class GroupItemDto: AuditedEntityDto<long>
    {
        /// <summary>
        /// 意向小区
        /// </summary>
        [StringLength(32)]
        public string WantVillage { get; set; }
        /// <summary>
        /// 意向楼层
        /// </summary>
        [StringLength(32)]
        public string WantLayer { get; set; }
        /// <summary>
        /// 意向户型
        /// </summary>
        [StringLength(32)]
        public string WantLayout { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        [StringLength(32)]
        public string LinkMan { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        [StringLength(32)]
        public string PhoneNumber { get; set; }
        /// <summary>
        /// 所属团购
        /// </summary>
        public long GroupBuyId { get; set; }
        /// <summary>
        /// 团员获利
        /// </summary>
        public int MemberProfit { get; set; }
        /// <summary>
        /// 是否通过审核
        /// </summary>
        public bool IsActive { get; set; }
        public virtual UserDto JoinUser { get; set; }
        public long GroupBuyTypeId { get; set; }

    }
}
